package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name="sl_crm_invoiceDetailInfoView")
public class InvoiceDetailInfoView extends Root {

	//总开票id
	@OneToOne(optional=true) 
	@JoinColumn(name="sInvoiceTotalId")
	private InvoiceTotalInfo sInvoiceTotalId;
	private java.lang.String sContractId;
	private java.lang.String sContractType;
	//发票明细价格
	private double nInvoiceDetailPrice;
	//发票人
	private java.lang.String sInvoicePersonId;
	private java.lang.String sInvoicePersonName;
	//发票发票计划日期
	private Date dInvoicePlanAccDate;
	//发票实际付款日期
	private Date dInvoiceActualAccDate;
	//发票税率
	private double nInvoiceTaxRate;
	//发票税价
	private double nInvoiceTaxPrice;
	//发票备注
	private java.lang.String sInvoiceMemo;
	
	private java.lang.String sCreateUserId;

	public InvoiceTotalInfo getsInvoiceTotalId() {
		return sInvoiceTotalId;
	}

	public void setsInvoiceTotalId(InvoiceTotalInfo sInvoiceTotalId) {
		this.sInvoiceTotalId = sInvoiceTotalId;
	}

	public java.lang.String getsContractId() {
		return sContractId;
	}

	public void setsContractId(java.lang.String sContractId) {
		this.sContractId = sContractId;
	}

	public java.lang.String getsContractType() {
		return sContractType;
	}

	public void setsContractType(java.lang.String sContractType) {
		this.sContractType = sContractType;
	}

	public double getnInvoiceDetailPrice() {
		return nInvoiceDetailPrice;
	}

	public void setnInvoiceDetailPrice(double nInvoiceDetailPrice) {
		this.nInvoiceDetailPrice = nInvoiceDetailPrice;
	}

	public java.lang.String getsInvoicePersonId() {
		return sInvoicePersonId;
	}

	public void setsInvoicePersonId(java.lang.String sInvoicePersonId) {
		this.sInvoicePersonId = sInvoicePersonId;
	}

	public java.lang.String getsInvoicePersonName() {
		return sInvoicePersonName;
	}

	public void setsInvoicePersonName(java.lang.String sInvoicePersonName) {
		this.sInvoicePersonName = sInvoicePersonName;
	}

	public Date getdInvoicePlanAccDate() {
		return dInvoicePlanAccDate;
	}

	public void setdInvoicePlanAccDate(Date dInvoicePlanAccDate) {
		this.dInvoicePlanAccDate = dInvoicePlanAccDate;
	}

	public Date getdInvoiceActualAccDate() {
		return dInvoiceActualAccDate;
	}

	public void setdInvoiceActualAccDate(Date dInvoiceActualAccDate) {
		this.dInvoiceActualAccDate = dInvoiceActualAccDate;
	}

	public double getnInvoiceTaxRate() {
		return nInvoiceTaxRate;
	}

	public void setnInvoiceTaxRate(double nInvoiceTaxRate) {
		this.nInvoiceTaxRate = nInvoiceTaxRate;
	}

	public double getnInvoiceTaxPrice() {
		return nInvoiceTaxPrice;
	}

	public void setnInvoiceTaxPrice(double nInvoiceTaxPrice) {
		this.nInvoiceTaxPrice = nInvoiceTaxPrice;
	}

	public java.lang.String getsInvoiceMemo() {
		return sInvoiceMemo;
	}

	public void setsInvoiceMemo(java.lang.String sInvoiceMemo) {
		this.sInvoiceMemo = sInvoiceMemo;
	}

	public java.lang.String getsCreateUserId() {
		return sCreateUserId;
	}

	public void setsCreateUserId(java.lang.String sCreateUserId) {
		this.sCreateUserId = sCreateUserId;
	}
}
